package com.lc1993929.tank.entity.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.lc1993929.tank.constants.Direction;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by LiuChang on 2018/11/27.
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TankResult {
    private String tId;
    private Direction direction;
    private Type type;
    private Integer length;
    private boolean useGlod;

    @JsonProperty("tId")
    public String gettId() {
        return tId;
    }

    public enum Type {
        MOVE, FIRE
    }
}
